<div class="page-content-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="portlet light">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-gift"></i>定级查询
                    </div>
                </div>
                <div class="portlet-body form">
                    <div class="col-md-12 no-padding">
                        <button type="button" class="btn btn-success" ng-click="rankQuery.viewRankInfo();">查看</button>
                        <div class="btn-group open" ng-mouseenter="vm.exportNum = 2"  ng-mouseleave="vm.exportNum = 1">
                            <button class="btn btn-default btn-success" type="button"  >导出<span class="caret"></span></button>
                            <ul class="dropdown-menu" style="margin-top: 0px" ng-if="vm.exportNum == 2">
                                <li><a href="##" ng-click="rankQuery.exportExcel();">导出EXCEL</a></li>
                                <li><a href="##">导出文件</a></li>
                            </ul>
                        </div>
                        <div class="btn-group open" ng-mouseenter="vm.downLoadNum = 2"  ng-mouseleave="vm.downLoadNum = 1">
                            <button class="btn btn-default btn-success" type="button"  >下载<span class="caret"></span></button>
                            <ul class="dropdown-menu" style="margin-top: 0px" ng-if="vm.downLoadNum == 2">
                                <li><a href="##" ng-click="">全部附件</a></li>
                                <li><a href="##">专家评审意见</a></li>
                                <li><a href="##" ng-click="">上级行业主管部门审批意见</a></li>
                                <li><a href="##">系统定级报告</a></li>
                            </ul>
                        </div>
                        <button type="button" class="btn btn-success" ng-click="rankQuery.audits();">审核记录</button>

                        <div class="col-md-3 pull-right no-padding text-right">
                            <button type="button" class="btn btn-circle blue">查询</button>
                            <button type="button" class="btn btn-circle blue">高级查询</button>
                        </div>
                    </div>
                    <div class="col-md-12 no-padding-left-right">
                        <div class="grid margin-top-15" ui-grid="rankQuery.gridOptions" ui-grid-pagination ui-grid-selection ui-grid-move-columns ui-grid-empty-base-layer ui-grid-resize-columns></div>
                    </div>
                </div>
                <div class="" ng-if="rankQuery.query == 2">
                    <div>
                        <label>信息系统名称:</label><input>
                        <label>安全保护等级:</label><input>
                        <label>定级申请时间范围:</label><input>
                        <label>至:</label><input>
                        <label>填报人:</label><input>
                        <label>类别:</label><input>
                        <label>审核状态:</label><input>
                        <label>审核结果:</label><input>
                        <label>审核状态:</label><input>
                        <label>备案状态:</label><input>
                        <button type="button" class="btn btn-success" ng-click="">查询</button>
                        <a href="javascript:;" ng-click="rankQuery.query = 1">普通查询</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/ng-template" id="detail.html">
    <div ng-include="'app/module/business/rank/query/detail/view.html'"></div>
</script>
<script type="text/ng-template" id="excel.html">
    <div ng-include="'app/module/business/rank/query/excel/view.html'"></div>
</script>
<script type="text/ng-template" id="audits.html">
    <div ng-include="'app/module/business/rank/query/audits/view.html'"></div>
</script>
<script type="text/ng-template" id="high.html">
    <div ng-include="'app/module/business/rank/query/high/view.html'"></div>
</script>